/* 公共的样式 页面头部和底部 */
.wrapper {
    width: 1240px;
    margin: 0 auto;
}

/* 颜色变量 */
:root {
    /* 灰色变量 */
    --ga: #a1a1a1;
    --ga333: #333333;
    /* 主题主色调 */
    --theme-main-color: #00be9a;
}

/* 顶部导航栏 开始 */
.shortcut {
    height: 52px;
    background-color: var(--ga333);
    /* color: #ffffff; */
}

.shortcut .wrapper ul {
    display: flex;
    justify-content: flex-end;
}

.shortcut li a {
    color: #ffffff;
    line-height: 52px;
    font-size: 14px;
    padding: 0 15px;
    border-right: 1px solid var(--ga);
}

.shortcut li a:hover {
    color: var(--theme-main-color);
}

.shortcut li:last-child a {
    border-right: none;
}
/* header开始 */
.header {
    display: flex;
    padding: 22px 0;
}
.header .logo {
    width: 200px;
    height: 88px;
    background-color: pink;
}
.header .logo a {
    display: block;
    width: 100%;
    height: 88px;
    background: url(../images/logo.png);
    /* font-size: 0; */
    text-indent: -9999em;
    overflow: hidden;
}
/* nav */
.nav ul {
    display: flex;
    margin-left: 17px;
    line-height: 88px;
}
.nav ul li {
    margin: 0 20px;
}
.nav ul li a {
    display: inline-block;
    height: 42px;
    font-size: 16px;
    color: #333;
    line-height: 42px;
}
.nav ul li a:hover {
    color: var(--theme-main-color);
    border-bottom: 2px solid var(--theme-main-color);
}
/* search */
.search {
    position: relative;
    width: 220px;
    height: 88px;
    line-height: 88px;
    /* background-color: pink; */
}
.search i {
    position: absolute;
    left: 0;
    top: center;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
}
.search input {
    width: 170px;
    height: 40px;
    padding-left: 28px;
    border-bottom: 2px solid #f4f4f4;
    transition: all .3s;
}
.search input::placeholder {
    color: #ccc;
    font-size: 16px;
}
.search input:focus {
    width: 220px;
}
/* cart */
.cart {
    position: relative;
}
.cart i {
    font-size: 24px;
    line-height: 88px;
}
.cart span {
    position: absolute;
    top: 20px;
    left: 15px;
    padding: 0 5px;
    color: #fff;
    font-size: 16px;
    background-color: #e26237;
    border-radius: 12px;
}
/* header结束 */
/* 顶部导航栏 结束 */

/* 底部开始 */
.footer {
    background-color: #f5f5f5;
    height: 582px;
}
/* service */
.service {
    padding: 60px 0;
    border-bottom: 1px solid #e8e8e8;
}
.service ul {
    display: flex;
    /* 缝隙相同 */
    justify-content: space-evenly;
}
.service li {
    display: flex;
    width: 190px;
    height: 58px;
    /* background-color: pink; */
}
.service li h5 {
    overflow: hidden;
    width: 58px;
    height: 58px;
    /* background-color: purple; */
    margin-right: 20px;
    background: url(../images/sprite.png);
    text-indent: -9999em;
}
.service li p {
    font-size: 28px;
    line-height: 58px;
    color: #333;
}
.service li:nth-child(2) h5 {
    background-position: 0 -58px;
}
.service li:nth-child(3) h5 {
    background-position: 0 -116px;
}
.service li:nth-child(4) h5 {
    background-position: 0 -174px;
}

/* helper */
.helper {
    display: flex;
    justify-content: space-between;
    padding-top: 60px;
    height: 302px;
    /* background-color: pink; */
}
.helper .left {
    display: flex;
    justify-content: space-between;
}
.helper .left dl {
    margin-right: 84px;
}
.helper .left dt {
    padding-bottom: 30px;
    font-size: 18px;
    color: #333;
}
.helper .left dd {
    margin-bottom: 10px;
    font-size: 16px;
    color: #969696;
}
.helper .left dd i {
    color: var(--theme-main-color);
}
.helper .right {
    display: flex;
    flex: 1;
    justify-content: space-between;
}
.helper .right img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}
.helper .right p {
    text-align: center;
    font-size: 16px;
    color: #969696;
}
.copyright {
    text-align: center;
    color: var(--ga);
}
/* 底部结束 */
